package com.bd.scm.module.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bd.scm.domain.dto.item.ItemDto;
import com.bd.scm.domain.models.gly.Gly;
import com.bd.scm.domain.models.item.Item;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: _Cps
 * Date: 2019.12.21 11:19
 */
public interface ItemService extends IService<Item> {

    List<Item> getItemByTypeId(ItemDto itemDto);

    /**
     * 新增或修改班次类型.
     *
     * @param item
     * @return
     */
    String addOrEdit(Item item);


    /**
     * 删除班次类型.
     *
     * @param item
     * @return
     */
    String deleteBanciType(Item item);


}
